<!-- 基础标签示例 -->
{layout file="base.html"}
<body>

{for name="users" index="index" value="user"}
    <div>{user['userid']}</div>
    <div>{user['realName']}</div>
    <div>{:user['realName']|safe}</div>
{/for}

{if condition="age == 1"}
    <h1>{$age}</h1>
{elif condition="age == 2"}
    <h1>hello world</h1>
{else}
    <h1>什么鬼</h1>
{/if}

<html:img src="images/bg_jins.png" alt="" />


</body>








